package com.maker.enums.wxpay;

import lombok.AllArgsConstructor;
import lombok.Getter;
@AllArgsConstructor
@Getter
public enum WxApiType {

    /**
     *    native下单
     */
    NATIVE_PAY("/v3/pay/transactions/native"),
    /**
     * 查询订单
     */

    ORDER_QUERY_BY_NO("/v3/pay/transactions/out-trade-no/%s"),
    /**
     * 关闭订单
     */
    CLOSE_ORDER_BY_NO("/v3/pay/transactions/out-trade-no/%s/close"),
    /**
     * 申请退款
     */
    DOMESTIC_REFUNDS("/v3/refund/domestic/refunds"),
    /**
     * 查询单笔退款
     */
    DOMESTIC_REFUNDS_QUERY("/v3/refund/domestic/refunds/%S"),
    /**
     * TODO 申请交易账单
     */
    OTHER_API("TODO");

    private final String type;
}
